package basics.day14.getInstance;

public abstract class Animal {
    public abstract void eat();

    public static Animal getInstance() {
        return new Cat();
    }
}
